#ifndef DWGCIRCLE_H
#define DWGCIRCLE_H

#include <QObject>
#include "dwgobject.h"

class DwgCircle : public DwgObject
{
    Q_OBJECT
public:
    DwgCircle();

    void setCenter(const QPoint &center);
    void setRadius(int radius);

    void Draw(QPainter *p) override;


    QPoint mCenterPt;  // 圆心
    int mRadius;       // 半径
};

#endif // DWGCIRCLE_H
